<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>line-height-btn</title>
    <!-- <link rel="stylesheet" href="../css/style.css"> -->
    <!-- <link rel="stylesheet" href="../css/reset.css"> -->
    <link rel="stylesheet" href="../css/reset1.css">

    <style>
        *{
            box-sizing: border-box;
        }
        .wrap{
            width: 80%;
            height: 500px;
            border: 1px solid #ddd;
            margin: 50px auto;
            padding:50px;
        }
        .btnStyle{
            display: block;
            height: 34px;
            border: 1px solid #95B8E7;
            margin: 20px 0;
            background: #fff;
            padding: 0 15px;
            border-radius: 5px;
            color: #95B8E7;
            line-height: 1.5;   /*解决在“火狐”中不垂直居中的问题*/
        }
        .inputBox,#textareaBox{
            border: 1px solid #95B8E7;
            display: block;
            margin: 20px 10px;
            overflow: hidden; 
        }
        .inputBox{
            height: 34px;
            width: 200px;
            text-indent: 5px;
        }
        #textareaBox{
            width: 200px;
            height: 200px;
            resize: none;
            text-indent: 5px;
            padding-top: 10px;
            font-size: 14px;   /*解决textarea在火狐中字体大的问题*/
        }

    </style>

</head>
<body>
    
    <div class="wrap">

        <input type="text" class="inputBox" placeholder="请输入..."/>


        <textarea name="" id="textareaBox" cols="30" rows="10" placeholder="请输入内容..."></textarea>
        
        <button class="btnStyle lineHei34">确定</button>

        <button class="btnStyle lineHei26">取消</button>

    </div>

</body>
</html>